% Python代码段，单行代码，代码文件
\newminted{python}{autogobble,linenos,breaklines,breakanywhere,python3,bgcolor=bg}
\newmintedfile{python}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{python}{\VerbatimEnvironment\begin{pythoncode}}{\end{pythoncode}}
\newmintinline{python}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}

% bash
\newminted{bash}{autogobble,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{bash}{autogobble,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{bash}{\VerbatimEnvironment\begin{bashcode}}{\end{bashcode}}
% HTML
\newminted{html}{autogobble,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{html}{autogobble,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{html}{\VerbatimEnvironment\begin{htmlcode}}{\end{htmlcode}}
% 无格式文本
\newminted{Text}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{textcode}{\VerbatimEnvironment\begin{Textcode}}{\end{Textcode}}

\newmintinline{Text}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
% C++
\newminted{cpp}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintedfile{cpp}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{cpp}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{cpp}{\VerbatimEnvironment\begin{cppcode}}{\end{cppcode}}

% CMake
\newminted{cmake}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintedfile{cmake}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{cmake}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{cmake}{\VerbatimEnvironment\begin{cmakecode}}{\end{cmakecode}}


% Rust
\newminted{rust}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintedfile{rust}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newmintinline{rust}{autogobble,linenos,breaklines,breakanywhere,bgcolor=bg}
\newenvironment{rust}{\VerbatimEnvironment\begin{rustcode}}{\end{rustcode}}
